// Name: David Andersen

using UnityEngine;
using System.Collections;

public class BombMove : MonoBehaviour {
	
	public int moveSpeed = 100;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		
		Vector3 newPosition = new Vector3(0,-1,0) * (moveSpeed * Time.deltaTime);
		newPosition = transform.position + newPosition;
		transform.position = newPosition;
	}
		
	void OnCollisionEnter(Collision collision)
	{
		Destroy(gameObject);
	}
}
